

package net.betou.trade.main.manager;

import net.betou.common.page.Pagination;
import net.betou.trade.entity.main.AgentAndAdmins;
import net.betou.trade.entity.main.Suggestion;
import net.betou.trade.entity.main.SuggestionType;

/**
 * 
 * @author O.Y.
 */
public interface SuggestionMng{

	public Suggestion save( Suggestion bean, AgentAndAdmins admin, SuggestionType st );
	
	public Suggestion deleteById( Integer id );
	
	public Suggestion [ ] deleteByIds( Integer [ ] ids );
	
	public Suggestion updateStatus( Suggestion bean );
	
	public Suggestion findById( Integer id );
	
	public Pagination getPage( AgentAndAdmins admin, String searchProperty, String searchValue, String orderProperty, String orderDirection, int pageNo, int pageSize, String filter );
	
	public Suggestion findMySuggestion( Integer id, Integer adminId, boolean system );
	
	
}
